<div class="popupBody">
    <script type="text/javascript" language="javascript">
        box_LoadItemDetails();
        
        var focused = document.getElementById('itemDescription');
        focused.focus();
        
        function box_LoadItemDetails()  {    
            $('itemDescription').value = $F('itemDescription' + detailedItemNumber);
            $('itemLink').value = $F('itemLink' + detailedItemNumber);
        }
    </script>
    <form id="form1" name="form1" method="post" action="">
        <div class="popupHeader">
            Edit details
        </div>
        <div class="popupContent">
            <div class="mediumText">
                Description</div>
            <p>
                <textarea name="itemDescription" id="itemDescription" cols="40" rows="8"></textarea>
            </p>
            <div class="mediumText">
                Any link (web link) which provides more details
            </div>
            <p>
                <label>
                    <input name="itemLink" id="itemLink" type="text" size="52" />
                </label>
            </p>
            <p>
                <a href="#" class="lbAction" rel="deactivate">
                    <input name="OK" type="button" id="OK" value="OK" class="smallButton" onclick="setItemDetails(itemDescription.value, itemLink.value);" />
                </a><a href="#" class="lbAction" rel="deactivate">
                    <input name="Cancel" type="button" id="Cancel" value="Cancel" class="smallButton"
                        onclick="clearDetailedItemNumber();lightboxCancelled();" />
                </a>
            </p>
            By providing a description and link, users will find it easier to find more information
            about the item.
        </div>
    </form>
</div>
